---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In[1], line 56
53 # 데이터에서 필요한 열 선택
54 tdf = df.iloc[:, [2, 9, 11]]
---> 56 folium.Choropleth(geo_data = geo_data)
57 m = folium.Map(location = [0, -160], zoom_start = 2,
58 max_bounds = True,
59 min_zoom = 2, min_lat = -84,
60 max_lat = 84, min_lon = -175, max_lon = 187)
61 folium.Choropleth(geo_data = geo_data,
62 data = tdf,
63 columns = ['Area Code (ISO2)','Value'], key_on = 'properties.ISO',
64 highlight = True,
65 fill_color = 'RdYlGn', fill_opacity = 0.7, line_opacity = 0.5,
66 legend_name = '곡물수확량').add_to(m)
NameError: name 'folium' is not defined